/******************************************************************************/
/*  This file is part of the uVision/ARM development tools                    */
/*  Copyright KEIL ELEKTRONIK GmbH 2002-2004                                  */
/******************************************************************************/
/*                                                                            */
/*  SERIAL.H:  Low Level Serial Routines Header File                          */
/*  modified and extended by Martin Thomas                                    */
/*                                                                            */
/*  Modified for Carleton UAV Project by Guannan Wang 100635341               */
/*                                                                            */
/******************************************************************************/
/*                                                                            */
/*  $Author:: snailium                                                     $  */
/*  $Date:: 2009-01-06 17:39:10 +0000 (Tue, 06 Jan 2009)                   $  */
/*  $Revision:: 9                                                          $  */
/*                                                                            */
/******************************************************************************/

#ifndef SERIAL_H_
#define SERIAL_H_

extern void init_serial0 ( unsigned long baudrate );
extern void init_serial1 ( unsigned long baudrate );
extern int putchar_serial0 (int ch);
extern int putchar_serial1 (int ch);
extern int putc_serial0 (int ch);
extern int putc_serial1 (int ch);
extern int getkey_serial0 (void);
extern int getkey_serial1 (void);
void putstring_serial0 (const char *string);
void putstring_serial1 (const char *string);
int getc_serial0 (void);
int getc_serial1 (void);

#endif
